home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir38 / vga_doc2.zip / COMPAQ.TXT < prev    next >
Text File  |  1993-01-22  |  3KB  |  118 lines

  1.  
  2.     Compaq Super VGA chips.
  3.  
  4.  
  5.     3CEh index  Fh:
  6.     writing 5 to this register unlocks the extended registers.
  7.  
  8.     3CEh index 45h: Bank register
  9.     bit 0-7  Bank number in 4k blocks.
  10.  
  11.  
  12.  
  13.     ID Compaq super VGA:
  14.  
  15.     rp.bx:=0;
  16.     rp.cx:=0;
  17.     vio($bf03):
  18.     if rp.ax=$BF03 then Compaq.
  19.  
  20.  
  21.     Video Modes:
  22.  
  23.     2Eh G 640x480  256c  packed
  24.     59h G 800x600   16c  planar
  25.  
  26.  
  27.   Compaq BIOS extensions:
  28.  
  29. ----------10BF00-----------------------------
  30. INT 10 - VIDEO - Compaq Portable Extensions - SELECT EXTERNAL MONITOR
  31.     AX = BF00h
  32. Note: all registers preserved and the internal monitor is blanked
  33.       the external monitor becomes the active monitor
  34. SeeAlso: AX=BF01h
  35. ----------10BF01-----------------------------
  36. INT 10 - VIDEO - Compaq Portable Extensions - SELECT INTERNAL MONITOR
  37.     AX = BF01h
  38. Note: all registers preserved and the external monitor is blanked
  39.       the internal monitor becomes the active monitor
  40. SeeAlso: AX=BF00h
  41. ----------10BF02-----------------------------
  42. INT 10 - VIDEO - Compaq Portable Extensions - SET MASTER MODE OF CURRENT CTRLR
  43.     AX = BF02h
  44.     BH = master mode
  45.         04h CGA
  46.         05h EGA
  47.         07h MDA
  48. SeeAlso: AX=BF03h
  49. ----------10BF03BX0000-----------------------
  50. INT 10 - VIDEO - Compaq Portable/Systempro Extensions - GET ENVIRONMENT
  51.     AX = BF03h
  52.     BX = 0000h
  53. Return: BH = active monitor
  54.         00h = external
  55.         01h = internal
  56.     BL = master mode
  57.         00h = switchable VDU not present
  58.         04h = CGA
  59.         05h = EGA
  60.         07h = MDA
  61.         08h = switchable LCD controller present
  62.     CH = 00h (reserved)
  63.     CL = switchable VDU mode supported
  64.         bit    0 = CGA supported
  65.         bits 1,2 = reserved (1)
  66.         bit    3 = MDA supported
  67.         bits 4-7 = reserved (1)
  68.     DH = internal monitor type
  69.         00h = none
  70.         01h = Dual-mode monitor
  71.         02h = 5153 RGB monitor
  72.         03h = Compaq Color monitor
  73.         04h = 640x400 flat panel
  74.         07h = LCD VGA
  75.     DL = external monitor type
  76.         00h = none
  77.         01h = dual-mode monitor
  78.         02h = 5153 RGB monitor
  79.         03h = Compaq Color monitor
  80.         04h = 640x400 flat panel
  81.         05h = VGC monochrome
  82.         06h = VGC color
  83. SeeAlso: AH=1Ah,AX=BF00h,AX=BF01h,AX=BF02h
  84. ----------10BF04-----------------------------
  85. INT 10 - VIDEO - Compaq Portable Extensions - SET MODE SWITCH DELAY
  86.     AX = BF04h
  87.     BH = new state of delay
  88.          00h enabled
  89.          01h disabled
  90. SeeAlso: AX=BF05h
  91. ----------10BF05-----------------------------
  92. INT 10 - VIDEO - Compaq Systempro Extensions - ENABLE/DISABLE DISPLAY
  93.     AX = BF05h
  94.     BH = new state of video
  95.          00h off
  96.          01h on
  97. SeeAlso: AX=BF04h
  98. ----------10BF06-----------------------------
  99. INT 10 - VIDEO - Compaq SLT/286 - READ GRAY SCALE TABLE
  100.     AX = BF06h
  101.     CL = address to be read from gray scale table
  102. Return: AL = bit 3-0 - Value read from gray scale table
  103.     CL = address to be read from gray scale table
  104. SeeAlso: AH=12h/BL=33h,AX=BF07h
  105. ----------10BF07-----------------------------
  106. INT 10 - VIDEO - Compaq SLT/286 - WRITE GRAY SCALE TABLE
  107.     AX = BF07h
  108.     CH = value to write to gray scale table
  109.     CL = address to be written to gray scale table
  110. SeeAlso: AX=BF06h
  111. ----------10BF08-----------------------------
  112. INT 10 - VIDEO - Compaq SLT/286 - WRITE COLOR MIX REGISTERS
  113.     AX = BF08h
  114.     CH = bits 7-4 - Green weight
  115.          bits 3-0 - Blue weight
  116.     CL = bits 7-4 - unused
  117.          bits 3-0 - Red weight
  118.